package com.wlc.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DeptStatsMapper {

    /**
     * 查询部门人数统计
     */
    List<Map<String, Object>> selectDeptEmployeeStats();

    /**
     * 查询部门性别分布
     */
    List<Map<String, Object>> selectDeptGenderStats(@Param("deptId") Long deptId);
}